package dbops

import (
	"database/sql"
	"log"
)

var (
	dbConn *sql.DB
	err error
)

func init(){
	dbConn, err = sql.Open("mysql", "cookie:cookie123123@tcp(192.168.252.88:22322)/video_server?parseTime=true")
	if err != nil {
		panic(err.Error())
	}
	log.Println("连接成功")
}